<!-- eslint-disable vue/multi-word-component-names -->
<template>
    <div>
        <van-nav-bar title="标题"
        left-arrow @click-left="onClickLeft"
        @click-right="onClickRight">
            <template #right>
                <van-icon name="search" size="18" />
            </template>
        </van-nav-bar>
    </div>
</template>
<script>
export default {
  mounted () {
    this.$store.commit('hide')

    console.log(this.$route.filmId)
  },
  methods: {
    onClickLeft () {
      this.$router.back()
    },
    onClickRight () {
      this.$router.push('/search')
    }
  }
}
</script>
<style>

</style>
